package yesjava.news.entity;

public class News {
    private Integer id;
    private String title;
    private String content;
    private Integer checked;// 1 已审核
    private Integer show;//1 展示
    private Integer readCount;
    private Integer creatorBy;


    public Integer getCreatorBy() {
        return creatorBy;
    }

    public News setCreatorBy(Integer creatorBy) {
        this.creatorBy = creatorBy;
        return this;
    }

    public Integer getId() {
        return id;
    }

    public News setId(Integer id) {
        this.id = id;
        return this;
    }

    public String getTitle() {
        return title;
    }

    public News setTitle(String title) {
        this.title = title;
        return this;
    }

    public String getContent() {
        return content;
    }

    public News setContent(String content) {
        this.content = content;
        return this;
    }

    public Integer getChecked() {
        return checked;
    }

    public News setChecked(Integer checked) {
        this.checked = checked;
        return this;
    }

    public Integer getShow() {
        return show;
    }

    public News setShow(Integer show) {
        this.show = show;
        return this;
    }

    public Integer getReadCount() {
        return readCount;
    }

    public News setReadCount(Integer readCount) {
        this.readCount = readCount;
        return this;
    }
}
